<?php
require_once('conn.php');

$query = mysql_query("insert into stockiest (hp, nama, kelompok) values ('".$_REQUEST['hp']."','".$_REQUEST['nama']."','".$_REQUEST['kelompok']."')");
if($query){
	echo json_encode(array('success'=>true));
} else {
	echo json_encode(array('msg'=>"Error"));
}

?>